package work.atpgroup.service;

import work.atpgroup.entity.Identity;
import work.atpgroup.entity.User;

import java.util.List;

public interface IdentityService {
    int insertIdentity(Identity identity);
    int deleteIdentity(Integer identityId);
    int updateIdentity(Identity identity);
    Identity getIdentityById(Integer identityId);
    List<User> getUserWithThisIdentity(Identity identity);
    List<User> getUserWithThisIdentity(Integer identityId);
}
